package com.moss.system.service;

import com.moss.common.entity.SysUserEntity;

import java.util.Set;

/**
 * @author gxcc3
 * @date: 2024/8/22 23:09
 */
public interface PermissionService {

    /**
     * 获取用户role
     * @param user
     * @return
     */
    Set<String> getRolePermissionList(SysUserEntity user);

    Set<String> getMenuPermissionList(SysUserEntity user);
}
